package com.easy.service;

import com.easy.bean.Book;
import com.easy.util.Page;

import java.util.List;

public interface BookService {

    Book add(Book book);

    int del(Integer id);

    Book edit(Book book);

    Book one(Integer id);

    List<Book> all(Book book);

    void page(Page page, Book book);
}
